package top.huhuiyu.springboot2.entity;

public class PageResult<T> {
  private PageBean pageBean;
  private T data;

  public PageResult() {
  }

  public PageResult(PageBean pageBean, T data) {
    this.pageBean = pageBean;
    this.data = data;
  }

  @Override
  public String toString() {
    return "PageResult{" + "pageBean=" + pageBean + ", data=" + data + '}';
  }

  public PageBean getPageBean() {
    return pageBean;
  }

  public void setPageBean(PageBean pageBean) {
    this.pageBean = pageBean;
  }

  public T getData() {
    return data;
  }

  public void setData(T data) {
    this.data = data;
  }
}
